﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<BGCMS.Models.Specialist>" %>

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

              <div class="editor-label">
                <label for = "Name">Nafn</label>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Name) %>
                <%: Html.ValidationMessageFor(model => model.Name) %>
            </div>

            <div class="editor-label">
                <label for = "Title">Titill</label>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Title) %>
                <%: Html.ValidationMessageFor(model => model.Title) %>
            </div>
            
            <div class="editor-label">
                <label for = "Menntun">Menntun</label>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Education) %>
                <%: Html.ValidationMessageFor(model => model.Education) %>
            </div>
            
            <div class="editor-label">
                <label for = "Workplace">Vinnustaður</label>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Workplace) %>
                <%: Html.ValidationMessageFor(model => model.Workplace) %>
            </div>
            
            <div class="editor-label">
                <label for = "Phone">Sími</label>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Phone) %>
                <%: Html.ValidationMessageFor(model => model.Phone) %>
            </div>
            
        <!--    <div class="editor-label">
                <%: Html.LabelFor(model => model.IsApproved) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.IsApproved) %>
                <%: Html.ValidationMessageFor(model => model.IsApproved) %>
            </div>-->
            
            <p>
                <input type="submit" value="Skrá" />
            </p>
        

    <% } %>

 


